In 12.5.4, have your script that creates the procedure drop the table before it creates the procedure.
In current versions of 15.x or 16.x, you can use
sp_configure "deferred name resolution", 1
to avoid the error while creating the stored procedure.
-bret